package com.test;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.retry.annotation.EnableRetry;

/**
 * proxyTargetClass：Boolean类型，用于指明代理方式，true：cglib代理，false：jdk动态代理，默认使用jdk动态代理.
 */
@EnableRetry(proxyTargetClass = true)
@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        SpringApplication sa = new SpringApplication(Application.class);
        sa.run(args);
    }

}
